import Vue from 'vue'
import VueRouter from 'vue-router'

Vue.use(VueRouter)

const routes = [
  {
    path: '/', //集成管理系统
    name: 'management',
    component: () => import('../views/management/management.vue'),
  },
  {
    path: '/integrated', //集成管理系统
    name: 'integrated',
    component: () => import('../views/integrated/integrated.vue'),
  },
  {
    path: '/modelRegister', //模型注册
    name: 'modelRegister',
    component: () => import('../views/modelRegister/modelRegister.vue'),
  },
]

const router = new VueRouter({
  mode: 'history',
  base: process.env.BASE_URL,
  routes,
})

export default router
